﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Administration._Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>BlueCurve Enterprise Search Administration</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="Robots" content="noindex, nofollow" />
    <style type="text/css" media="screen">
      @import url(Files/Css/style.css);
   </style>
    <script language="javascript" type="text/javascript">
        //<![CDATA[
        function getWindowHeight() {
            var windowHeight = 0;
            if (typeof (window.innerHeight) == 'number') {
                windowHeight = window.innerHeight;
            }
            else {
                if (document.documentElement && document.documentElement.clientHeight) {
                    windowHeight = document.documentElement.clientHeight;
                }
                else {
                    if (document.body && document.body.clientHeight) {
                        windowHeight = document.body.clientHeight;
                    }
                }
            }
            return windowHeight;
        }
        function setFooter() {
            if (document.getElementById) {
                var windowHeight = getWindowHeight();
                if (windowHeight > 0) {
                    var contentHeight = document.getElementById('content').offsetHeight;
                    var footerElement = document.getElementById('footer');
                    var footerHeight = footerElement.offsetHeight;
                    if (windowHeight - (contentHeight + footerHeight) >= 0) {
                        footerElement.style.position = 'relative';
                        footerElement.style.top = (windowHeight - (contentHeight + footerHeight)) + 'px';
                    }
                    else {
                        footerElement.style.position = 'static';
                    }
                }
            }
        }
        window.onload = function() {
            setFooter();
        }
        window.onresize = function() {
            setFooter();
        }
        //]]>
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="content">
        <asp:Login ID="FenetreDeLogin" runat="server" BackColor="#F7F6F3" 
            BorderColor="#E6E2D8" BorderPadding="4" BorderStyle="Solid" BorderWidth="1px" 
            Font-Names="Verdana" Font-Size="0.8em" ForeColor="#333333" 
            onauthenticate="FenetreDeLogin_Authenticate">
            <TextBoxStyle Font-Size="0.8em" />
            <LoginButtonStyle BackColor="#FFFBFF" BorderColor="#CCCCCC" BorderStyle="Solid" 
                BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em" ForeColor="#284775" />
            <InstructionTextStyle Font-Italic="True" ForeColor="Black" />
            <TitleTextStyle BackColor="#5D7B9D" Font-Bold="True" Font-Size="0.9em" 
                ForeColor="White" />
        </asp:Login>
    </div>
    <div id="footer">
        &copy; BlueCurve Corporation
    </div>
    </form>
</body>
</html>
